package com.aliang.shopping.model.dto.goods;

import com.aliang.shopping.model.dto.common.BasicDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "商品信息插入数据传输对象")
@Data
public class GoodsInsertDTO extends BasicDTO {

    /**
     * 商品名
     */
    @ApiModelProperty("商品名")
    private String goodsName;

    /**
     * 商品分类ID
     */
    @ApiModelProperty("商品分类ID")
    private List<Long> typeId;


    /**
     * 商品主图
     */
    @ApiModelProperty("商品主图")
    private List<String> mainImages;

    /**
     * 商品配置
     */
    @ApiModelProperty("商品配置")
    private List<GoodsPropertiesInsert> properties;

    /**
     * 图文描述
     */
    @ApiModelProperty("图文描述")
    private List<String> imageDesc;

}
